package com.zzb.inherit;

public class Test {
    public static void main(String[] args) {

        Appliances rg = new Refrigerator("海尔", "RG8464", "白色", 1999.99, "双开门", "混合式");

        Appliances washer = new Washer("海尔", "HR8464", "白色", 1999.99,"感应电机","10L");

        System.out.println(rg);
        System.out.println(washer);


    }
}
